You didn't Attempt
Choose the word which best expresses the meaning of given word
Dreadfully
Incredibly
Correct answer
Disastrous
Sad
none of above
Hide
Dreadfully closest meaning is incredibly here
Report an issue
You didn't Attempt
Choose the word which is antonym if given word
ENORMOUS
Soft
Average
Tiny
Correct answer
Weak
Hide
Enormous means huge amount, Tiny means less
Report an issue
You didn't Attempt
choose the word which can be best substituted
Extreme old age when a man behaves like a fool
Imbecility
Senility
Dotage
Correct answer
Superannuation
Hide
Dotage is most appropriate word over here
Report an issue
You didn't Attempt
Find the remainder when is divided by 23?
3
2
1
0
Correct answer
Hide
We know that 100! = 100 * 99 * 98 * … * 23 * 22 * 21 * … * 3 * 2 * 1
So when this equation is divided by 23, the remainder is 0.
Report an issue
You didn't Attempt
Aman’s speed with the current is 15 km/hr and the speed of the current is 2.5 km/hr. What is Aman’s speed against the current?
8.5 km/hr
9 km/hr
10 km/hr
Correct answer
12.5 km/hr
Hide
Aman’s rate in still water = (15 – 2.5) = 12.5 km/hr. Aman’s rate
(12.5 – 2.5) km/hr = 10 km/hr.
Report an issue
You didn't Attempt
Seats for Mathematics, Physics and Biology in a school are in the ratio 5:7:8. There is a proposal to increase these seats by 40%, 50% and 75% respectively. What will be the ratio of increased seats?
6:7:8
2:3:4
Correct answer
6:8:9
None of the above
Hide
Let the ratios of division be = 5x:7x:8x
There is an increase of 40%, 50% and 75% respectively.
Therefore, applying the % over the ratio we get, 7x:21x/2:14x
So, this is the required ratio.
= 14x : 21x: 28x
= 2 : 3 : 4
Report an issue
You didn't Attempt
In a circle of radius 5 cm AB and AC are length of chords of 6cm each the length of chords BC is
24/5
7/5
48/5
Correct answer
12/5
Hide
x=7/5 putting in (2) we get 48/5
Report an issue
You didn't Attempt
Rohit’s father is three times older than Rohit. After 8 years, he would be two and a half times of Rohit’s age. After a further 8 years, how many times would he be of Rohit’s age?
2 times
Correct answer
2.5 times
2.75 times
3 times.
Hide
Let Rohit present age be x years
Therefore father’s age is x + 3x = 4x years
According to the question,
4x + 8 = 5/2(x + 8)
=> 3x = 24
=> x = 8
So the answer is: (4x + 16) / (x + 16) = 48/24 = 2
Report an issue
You didn't Attempt
A ship, whose speed in 15 km/hr in still water goes 30 km downstream and comes back in a total of 4 hours 30 minutes. What is the speed of the stream in km/hr?
4
6
5
Correct answer
10
Hide
Let the speed of the stream be x km/hr.
Therefore the, speed of downstream = (15 + x) km/hr,
and speed of upstream = (15 – x) km/hr.
According to the question,
30/(15 + x) + 30/(15 – x) = 9/2
or, 900/(225 – ) = 9/2
or, = 225
or, = 25
or, x = 5 km/hr.
Report an issue
You didn't Attempt
Insert the missing number.
8, 7, 11, 12, 14, 17, 17, 22, (......)
20
Correct answer
22
24
27
Hide
There are two series (8, 11, 14, 17, 20) and (7, 12, 17, 22) increasing by 3 and 5 respectively.
Report an issue
You didn't Attempt
Consider the cryptosystem
Above cryptosystem is___
Symmetric Key Cryptosystem
Correct answer
Public Key cryptosystem
Digital Signature
None of these
Hide
both sender and Receiver can share the same key in symmetric key cryptography
Report an issue
You didn't Attempt
Find the number of ways of getting number of tail more than 1 time in n flips(n>3)
Correct answer
Hide
(number of tails
)
Report an issue
You didn't Attempt
Find which of the following is incorrect
ARP is used to find MAC address of the given IP address
ALOHA does not sense carrier and transmit whenever it has data
TCP guarantees error free and ordered data delivery
CSMA sense carrier and transmit whenever it has data
Correct answer
Hide
CSMA senses data and transmits data if the medium is idle. CSMA will not transmit whenever it has data , it only transmit when the medium is idle.
Report an issue
You didn't Attempt
,
______?
Idempotent
Nilpotent
Involutory
Correct answer
None of these
Hide
Report an issue
You didn't Attempt
Let be an antisymmetric relation and
is inverse of ,
ie.
. Find the R1 U R2 ?
Symmetric Relation
Correct answer
Antisymmetric relation
Asymmetric Relation
None of the above
Hide
Clearly if (a,b) is present in so (b,a) will be present in
. Hence
U
will be Symmetric relation
Report an issue
You didn't Attempt
Consider the Johnson counter consisting of 5FF. If this counter has P states and it counts maximum decimal number Q, the correct values of P and Q are
P=32 Q=32
P=10 Q=31
Correct answer
P=31 Q=10
P=10 Q=32
Hide
Johnson counter contain 2n state for nFF
So, P=10
Also with nFF the maximum count by this counter is
So, Q=31
Report an issue
You didn't Attempt
Match the following
A. 1. DCFL
B. 2. CFL
C. 3. CSL
D. 4. Regular
A B C D
(a) 3 2 1 4
(b) 3 4 1 2
(c) 3 4 2 1
(d) 4 3 2 1
(a)
(b)
Correct answer
(c)
(d)
Hide
non-linear power
aaa
aaaa
regular
DCFL (push pop easily done)
as
and
Report an issue
You didn't Attempt
Quick sort algorithm is run on two input list shown below
List1: 1,2,3,4….
List2: n,n-1,n-2……
Let and
are no of Comparison made for input
and
then
Correct answer
none of above
Hide
Quicksort on already sorted Input behaves as worst case O()
Report an issue
You didn't Attempt
Consider the homomorphism function
where
and
and
if then
will be _______
{aaaa,aabb,bbaabb}
Correct answer
{aa,ab,aba}
{aaa,bba,aabbaa}
none of the above
Hide
By Substituting 0 as aa and 1 as bb
Report an issue
You didn't Attempt
Assume process A has 3 user level thread and process B has 4 kernel level thread. Assume while process A is running in CPU ,process B is waiting in the ready queue. If one of the thread of A gets blocked Find the status of process of A and B
All A thread get blocks and All B thread gets blocked
All A thread are not blocks and All B thread gets blocked
All A thread get blocks and All B thread are not blocked
Correct answer
none of the above
Hide
For process A , gets a single control block instead a control block for each thread So, blocking one thread will block all the thread for user level thread
Report an issue
You didn't Attempt
Number of 0 's present in 's Complementation of
5
6
Correct answer
7
8
Hide
Binary representation of
In 2's complement
There are 6 0’s are present
Report an issue
You didn't Attempt
Consider the following page reference string
Assume there are 4 frame and initially all are empty
Using optimal Strategy, find the number of page faults ?
7
8
Correct answer
9
5
Hide
So, no of page faults are 8
Report an issue
You didn't Attempt
What will be the output of the following program?
#include<stdio.h>
void main()
{
int p=0, q=2, s,t;
s= p++ && ++q ;
printf("%d %d \n",p, s);
}
1 0
Correct answer
0 0
1 1
1 0
Hide
Precedence of pre increment and post increment are greater than &&.
Post increment has higher precedence than pre increment.
But when a postfix increment is present in an equation, it will be incremented after the value is being assigned or used in the equation.
Hence,
p++ => here p will be considered as 0
++q => here q will be incremented to 3
And operation will take place in 0 and 3 giving to 0, hence s will be 0.
Now p will be incremented to 1.
Hence, output will be 1 0
Report an issue
You didn't Attempt
Which of the following codes is a self-complementary code?
8 4 -2 -1
6 3 1 -1
2421
All
Correct answer
Hide
All the given codes are self-complementary codes.
Report an issue
You didn't Attempt
MInimal form of is
1
Correct answer
x+z
x+y
y+z
Hide
( ∵ Distribution of OR over AND)
Report an issue
You didn't Attempt
What is the time complexity of the following code?
void Knowledge(n)
{
int i, j, k, count = 0;
for(i = n/4; i <= n; i++)
for( j = 1; j <= n/2; j = j*2)
for(k = 1; k*k <= n; k++)
count++;
}
Correct answer
Hide
If you see outer loop it is running for O(n)
inner loop for j-> logn times
inner loop for k-> sqrt(n)
Total time complexity -> n * * logn
Report an issue
You didn't Attempt
Consider the following statements with respect to network security
a. Message confidentiality means that the sender and the receiver expect privacy.
b. Message integrity means that the data must arrive at the receiver exactly as they were sent.
c. Message authentication means the receiver ensured that the message is coming from the intended sender.
Which of the statements is (are)correct?
only (a) and (b)
only (a) and (c)
only (b) and (c)
(a), (b) and (c)
Correct answer
Hide
Message Confidentiality:
It means a set of rules and promises which are executed through confidentiality agreements.
Message Integrity:
It means that the data must not be modified in the transit.
Message Authentication:
It is the property that the message is not changed and also the source can be verified by the receiver.
Report an issue
You didn't Attempt
The number of faces( regions ) in a complete graph of 5 vertices ___
5
6
7
Correct answer
8
Hide
Number of edges in a complete graph of 5 vertices = n(n-1)/2 = 10
Euler's formula:
V - E + F = 2
5-10+F=2
F =7
Report an issue
You didn't Attempt
Dijkstra’s shortest-path algorithm may relax an edge more than once in a graph with a cycle.
true
false
Correct answer
may be may not be
none of above
Hide
Dijkstra’s algorithm always visits each node at most once; this is why it produces an incorrect result in the presence of negative-weight edges.
Report an issue
You didn't Attempt
In the IPv4 addressing format, the number of networks allowed under Class B addresses is
Correct answer
Hide
In class B, 16 bits are reserved for Host Id and 16 bits are reserved for Network Id. Out of these 16 Network Id bits, the leading 2 bits are fixed as 10. So remaining 14 bits can be used for different networks.
Report an issue
You didn't Attempt
Suppose the X has a continuous uniform distribution over the interval.[-1,1]
The mean of a random variable is
Your answer
Correct answer
Hide
Report an issue
You didn't Attempt
Find the number of tokens in the given code
void
int
, int
);
Your answer
Correct answer
Hide
void * ) ( int *
, int *
);
Tokens: void fun
int
int
tokens in the given code.
Report an issue
You didn't Attempt
in BCD
is
Your answer
Correct answer
Hide
Report an issue
You didn't Attempt
Consider a 2048 * 8 bit, byte addressable rom,which has 2 select inputs and operates on 5V power supply. find number of pins needed for such IC package
Your answer
Correct answer
Hide
-bits
-bits
Address lines
Report an issue
You didn't Attempt
The maximum number of articulation points in any binary tree of 50 nodes are____?
Your answer
Correct answer
Hide
The maximum number of articulation points in any binary tree is only possible when it is skewed . hence for n nodes n-2 articulations points
Report an issue
You didn't Attempt
Consider a byte addressable memory system with 32bits Virtual addresses, 30bits physical addresses and 4KB page size. The TLB is 4-way set associative, with 16 total entries. The cache is 2-way set associative with 8-byte blocks, and 16 total lines. Determine the physical address bits assigned to Physical Page Number (PPN), Physical Page Offset (PPO), Cache Offset (CO), Cache Index (CI) and Cache Tag (CT) in that order from the options given below :
PPN: 12, PPO: 18, CO: 3, CI: 3, CT: 12
PPN: 18, PPO: 12, CO: 6, CI: 6, CT: 12
PPN: 18, PPO: 12, CO: 8, CI: 6, CT: 12
PPN: 18, PPO: 12, CO: 3, CI: 3, CT: 12
Correct answer
Hide
Physical Page Number (PPN) : B/4KB =
/
=> 18 bits.
Physical Page Offset (PPO) : 30bits – 18bits = 12bits.
Cache Offset (CO) : Cache block size is 8Bytes => 3bits.
Cache Index (CI) : No.of Cache sets = 16/2 = 8 => 3bits.
Cache Tag (CT) : CT = PPN – CI -CO = 18-3-3 = 12bits.
Report an issue
You didn't Attempt
A B-tree is used as an index for a large database table has 85 nodes. Order of B tree is 4. [Assume every node is full]. If a new key is inserted in this index, then the maximum number of nodes that could be newly created in the process
4
5
Correct answer
3
None of the above
Hide
Given No. of nodes in tree
Order of tree
no. of child
block pointers in a node
Let no. of levels
No. of levels
Then the maximum number of nodes will be created if we insert the key at leaf level.
So, no. of new nodes created =5
Report an issue
You didn't Attempt
Consider the microprogrammed control unit which supports 128 instructions, each of which on an average takes 4 micro operations. The system supports 14 flag conditions and two groups of control signals which are a total of 55 control signals. Group-1 has to generate one or none of 50 control signals and group-2 can have at most 5 from the remaining control signals. What is the minimum size of the control word?(Note Group 2 is using Horizontal microprogrammingand Group 1 is Vertical microprogramming)
24
Correct answer
35
30
20
Hide
Number of words in control memory = 128 * 4 = 2^9 words
Address field = 9 bits
There are 14 flags. So no. of bits for the 14(next power of 2, 2^4) flags = 4
In the control signals, group-1 it has to generate one or none of the 50 control signals..
These can be represented using encoding, ceil(log50) = 6 bits.
Group-2 can have at most 5 signals… to represent these 5 signals each can be represented with one bit. So 5 bits are needed for group-2 signals.
Total bits for the control signals = 6+5 = 11 bits
Control word contains the following 3 fields:
Control word size = 4+11+9 = 24 bits
Report an issue
You didn't Attempt
Suppose that a message 1001 1100 1010 0011 is transmitted using Internet Checksum (4-bit word). What is the value of the checksum?
100100
101010
100010
None
Correct answer
Hide
For 4-bit checksum, we have to divide the message into 4-bit words and add all.
1001 + 1100 + 1010 + 0011 = 100010
We want 4-bit checksum, bring 10 down and so add
0010 + 10 = 0100
And checksum will be the complement of 0100 which is 1011.
Report an issue
You didn't Attempt
Consider the following message:ABBABCDDCCBCCDDDA
What is the average length of bits required for encoding each letter using Huffman coding is ____?
3
4
5
none of the above
Correct answer
Hide
ABBABCDDCCBCCDDDA
Arrange the letters in increasing order of the frequency of its occurrence
A=3
B=4
C=5
D=5
Total bits =2*3+2*4+2*5+2*5=34
Average length =34/17=2
Report an issue
You didn't Attempt
Which of the following is/are application of NFA/DFA
String matching
lexical analysis
text editor
all
Correct answer
Hide
Application of NFA/DFA are
String matching,lexical analysis,text editor and spell checker
Report an issue
You didn't Attempt
If a is the element of the finite group G, then for any b in G and integer k>0 is
b
Correct answer
Hide
Assume
For
abeb
Report an issue
You didn't Attempt
Consider the keys , what will be the correct tree structure if min heap is to be created
Correct answer
none of the above
Hide
Report an issue
You didn't Attempt
The minimum 2 input NAND gate required to implement boolean function
2
3
4
5
Correct answer
Hide
For a single AND-gate two NAND gates are required, for NOT gate 1 NAND gate is required. So, minimum # NAND gate required for
is equals to
Report an issue
You didn't Attempt
The computer has 32 bit instruction as shown
Assume there are 205 instruction on machine and 128 register, find number of bits required for immediate field:
10
Correct answer
8
12
13
Hide
10-bits required for immediate field.
Report an issue
You didn't Attempt
Which of the following is the primary advantage of double precision.
Greater precision
Correct answer
Increase the exponent range
Represents more numbers
None
Hide
Although double precision does increase the exponent range, its primary advantage is its greater precision because of the much larger fraction.
Report an issue
You didn't Attempt
The page number in the 24-bit address 0x654321 with an 256-byte page size is:
0x56
0x12
0x6543
Correct answer
0x3456
Hide
Since a 256-byte page takes 8 bits in VA, rest 24-8=16bits are for page numbers. Each Hexadecimal number requires 4 bits in binary for representation. So In address first 16 bits or 4 Hexa digits is the page number ie. 0X6543. Rest 0x21 is page offset.
Report an issue
You didn't Attempt
Consider the following grammar where {#, %, x,y} are terminals.
S-> P
P-> QR | TQR
Q->Q# | ϵ
R-> % | ϵ
T-> x | y
Select the correct option.
First(P)={#,x,y,ϵ}
First(P)={#,x,y,%}
First(P)={#,x,y,ϵ}
First(P)={#,x,y,%,ϵ}
Correct answer
Hide
First(P)= First(QR) U First(TQR)
FIRST(QR)= {#,%,ϵ}
First(TQR)={x,y}
Report an issue
You didn't Attempt
Any graph G is a set of vertices and edges i.e., G=(v,e). Which of the following graphs are planar?
1, 2, 3
1, 2
2, 3
Correct answer
1, 3
Hide
If the inequality is satisfied the graph is planar, else it is non-planar.
has 5 vertices and 10 edges.
The inequality is not satisfied therefore it is not planar.
The graph is planar.
Graph 2 and 3 are planar
Report an issue
You didn't Attempt
A depth first search on a directed graph can yield which types of edges; tree, forward, back and cross edges
tree edges and cross edges
back edges
forward edges
all of the above
Correct answer
Hide
A depth first search on a directed graph can yield 4 types of edges; tree, forward, back and cross edges
Consider a directed graph given in below, DFS of the below graph is 1 2 4 6 3 5 7 8. In the diagram below, if DFS is applied on this graph a tree is obtained which is connected using green edges.
Tree Edge: It is an edge which is present in a tree obtained after applying DFS on the graph. All the Green edges are tree edges.
Forward Edge: It is an edge (u, v) such that v is descendant but not part of the DFS tree. Edge from 1 to 8 is a forward edge.
Back edge: It is an edge (u, v) such that v is ancestor of edge u but not part of DFS tree. Edge from 6 to 2 is a back edge.
Cross Edge: It is an edge which connects two nodes such that they do not have any ancestor and a descendant relationship between them. Edge from node 5 to 4 is cross edge.
Report an issue
You didn't Attempt
RSA algorithm is used by choosing two prime numbers say p=3 and q=11. If the public key is e=3 then what is the value of private key d and what is cipher value of message M=9.
7,3
Correct answer
8,18
11,7
13,17
Hide
n = p*q = 3*11 = 33,
Φ(n) = (p-1)*(q-1) = 2*10 = 20
d=e-1 mod Φ
=> e*d = 1 mod Φ
=> 3*7 = 1 mod 20 so d=7
now
Report an issue
You didn't Attempt
Let a book of 500 pages contain 30 printing mistakes. Let these errors are randomly distributed throughout the book and the number of errors per page has a poisson distribution. The probability that 10 pages selected at random is free from error.
0.6
0.548
Correct answer
0.37
0.52
Hide
Report an issue
You didn't Attempt
Consider a pipelined processor having 5 stages. The stage delays are 2, 3, 2.4, 3, 2.5ns and interstage buffer delays are 2ns. The 3rd stage is capable of deciding the branch target address. Processor starts fetching new instructions when the conditional branch outcome is known. 50% of instructions are conditional branch, then calculate the execution time for 1000 instructions?
10000ns
Correct answer
4800ns
6000ns
9000ns
Hide
5 stage pipeline
Delays are 2, 3, 2.4, 3, 2.5ns
Inter stage buffer delays are 2 ns
Clock cycle time= max stage delay + BUFF delay
= 3 + 2 = 5ns
3rd stage is capable of knowing Branch Address
So number of stall cycles = 2
50% instructions are branch instructions, so stall frequency = 0.50
CPI = (1 + stall Freq * stall cycles) clocks
= (1 + 0.5 * 2) clocks
= 2 clocks
Execution time = 2 * 5 ns / instruction
= 10 ns / instruction
Execution time for 1000 instructions = 10 ns / instruction * 1000 instructions
= 10000 ns
Report an issue
You didn't Attempt
Which one of the following statements is / are true about SQL?
SQL permits attribute names to be repeated in the same relation
If there are no indexes on the relations then an SQL query will not work
Duplicates are automatically eliminated by an SQL query
None of the above
Correct answer
Hide
All the statements about SQL are false
Report an issue
You didn't Attempt
The number of cut-vertex of the following graph is
Your answer
Correct answer
Hide
By removing ‘a vertex if the graph will become disconnected, it is called cut-vertex
In the given graph, vertices{ e,f,g,h,i} are the cut-vertices
Report an issue
You didn't Attempt
The optimal solution generated by the job sequencing with deadlines with
n = 7
,
,...
= (8, 10, 25, 23, 6, 11, 35)
,
, ...,
= (1, 3, 4, 3, 2, 1, 2) is _____?
Your answer
Correct answer
Hide
Total Profit =35+25+23+11=94
Report an issue
You didn't Attempt
The number of minterms present in output of following multiplexer
Your answer
Correct answer
Hide
Report an issue
You didn't Attempt
Number of non negative integer solution of equation
where is
Your answer
Correct answer
Hide
Let and
The given equation becomes
The required number of solutions = Number of non-negative integer solutions to the above equation
Report an issue
You didn't Attempt
Consider the relation with 5 attributes R(ABCDE), you are given functional dependency
Find the number of relations after converting in 3NF?
Your answer
Correct answer
Hide
Key of the given relation is AB and the 3NF relations are and
Report an issue
You didn't Attempt
A CNF CFG derives a string of length 5 in _____ steps?
Your answer
Correct answer
Hide
A CNF derives a string of length n in 2n-1 steps
Report an issue
You didn't Attempt
Which of the following is true with respect to strict alternation
Which of the following is/are true ?
Always guarantee mutual exclusion
Correct answer
never guarantee progress
Correct answer
Sometimes guarantees bounded waiting but not always
It can cause deadlock
Hide
Strict alternation implies process to turn while taking CS, hence it always guaranteed progress and deadlock never happens
Report an issue
You didn't Attempt